<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link href="/css/layui.css" rel="stylesheet">
<script src="/js/jquery.min.js?v=2.1.4"></script>
<script src="/js/layui.js"></script>
<script src="/js/plugins/layer/layer.min.js"></script>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<div style="width: auto;height: 80px; margin-top: 1%;margin-bottom: 10px;"
						 class="form-inline">
						<div class="form-inline row">
							<label style="margin-left: 1.3%;" class="form-inline">开始日期：</label>
							<input id="freightDate" style="width: 13%;" type="date"
								   class="form-control" autocomplete="off" placeholder="开始日期">
							<label style="margin-left: 1.3%;" class="form-inline">结束日期：</label>
							<input id="endDate" style="width: 13%;" type="date"
								   class="form-control" autocomplete="off" placeholder="结束日期">
							<label style="margin-left: 1.3%;" class="form-inline">传递单号：</label>
							<input id="expressNo" style="width: 10%;" type="text"
								   class="form-control " autocomplete="off" placeholder="传递单号">
							<label style="margin-left: 1.3%;" class="form-inline">产品名称：</label>
							<input id="productName" style="width: 18.5%;" type="text"
								   class="form-control " autocomplete="off" placeholder="产品名称">
							<br>

							<label style="margin-left: 1.3%;" class="form-inline">批&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 号：</label>
							<input id="batchNumber" style="width: 13%;" type="text"
								   class="form-control " autocomplete="off" placeholder="批号">

							<label style="margin-left: 1.3%;" class="form-inline">库&nbsp; 位&nbsp; 号：</label>
							<select class="form-control" style="width: 13%;" id="productPositionNumber" name="productPositionNumber" multip>
							</select>
							<label style="margin-left: 1.3%;" class="form-inline">方&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 式：</label>
							<input id="transType" style="width: 10%;" type="text"
								   class="form-control " autocomplete="off" placeholder="方式">
							<label style="margin-left: 1.3%;" class="form-inline">有&nbsp; 效&nbsp; 期：</label>
							<input id="validDate" style="width: 10%;" type="text"
								   class="form-control " autocomplete="off" placeholder="有效期">
							<br>

							<label style="margin-left: 1.3%;" class="form-inline">导入次数：</label>
							<input id="importNum" style="width: 13%;" type="text"
								   class="form-control " autocomplete="off" placeholder="导入次数">
							<label style="margin-left: 1.3%;" class="form-inline">单位名称：</label>
							<input id="company" style="width: 13%;" type="text"
								   class="form-control " autocomplete="off" placeholder="单位名称">
							<label style="margin-left: 1.3%;" class="form-inline">是否上传：</label>
							<select class="form-control" style="width: 10%;" id="isUpload" name="isUpload">
								<option value="">请选择</option>
								<option value="1">已上传</option>
								<option value="2">未上传</option>
							</select>
							<label style="margin-left: 1.3%;" class="form-inline">业务类型：</label>
							<select class="form-control" style="width: 10%;" id="businessType" name="businessType">
								<option value="">请选择</option>
								<option value="直调">直调</option>
								<option value="正常">正常</option>
								<option value="empty">无</option>
							</select>



							<button style="margin-left: 1%;" class="btn btn-success"
									onclick="reLoad()">查询</button>
							<button class="btn btn-success" onclick="clearInfo()"
									style="margin-left: 0.5%;">重置</button>

							<button id='import' type="button" class="btn  btn-primary" style="margin-left: 2%;">
								<i class="glyphicon glyphicon-import" aria-hidden="true"></i>导入
							</button>
							<button id='print' type="button" class="btn  btn-primary" onclick="batchPrint()" style="margin-left: 0.5%;">
								<i class="glyphicon glyphicon-print" aria-hidden="true"></i> 批量打印
							</button>
							<button id='batchremove' type="button" class="btn  btn-primary" onclick="batchRemove()" style="margin-left: 0.5%;">
								<i class="glyphicon glyphicon-delete" aria-hidden="true"></i> 批量删除
							</button>
						</div>
					</div>
					<table id="exampleTable" style="margin-top: 10px;" data-mobile-responsive="true">
					</table>
				</div>
			</div>
		</div>
	</div>
	<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
		<div>
			<script type="text/javascript">
				var s_edit_h = 'hidden';
				var s_remove_h = 'hidden';
				var s_resetPwd_h = 'hidden';
			</script>
		</div>
		<div shiro:hasPermission="system:list:edit">
			<script type="text/javascript">
				s_edit_h = '';
			</script>
		</div>
		<div shiro:hasPermission="system:list:remove">
			<script type="text/javascript">
				var s_remove_h = '';
			</script>
		</div>
		<div shiro:hasPermission="system:list:resetPwd">
			<script type="text/javascript">
				var s_resetPwd_h = '';
			</script>
		</div>
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/appjs/system/list/list.js"></script>
	<script type="text/javascript" src="/js/appjs/system/list/LodopFuncs.js"></script>
	<script type="text/javascript" src="/js/appjs/system/list/selectMultip.js"></script>
	<!--<script type="text/javascript" src="/js/plugins/print/LodopFuncs.js"></script>-->
	<script type="text/javascript" src="/js/plugins/datapicker/bootstrap-datepicker.js"></script>
</body>
</html>